package com.cskaoyan.service;

import com.cskaoyan.bean.bo.LoginBO;
import com.cskaoyan.bean.pojo.MallAdmin;
import com.cskaoyan.bean.vo.AuthInfoVO;

/**
 * @Author: zoey-zhu
 * @description: 首页(GET)：查询订单、用户、货品、订单的数量
 * @Date: 20:37 2021/7/8
 */
public interface AuthService {

    /**
     * @Author: zoey-zhu
     * @description: login（POST）: 登录
     * @Date 22:52 2021/7/8
     * url: http://182.92.235.201:8083/admin/auth/login
     */
    MallAdmin login(LoginBO loginBO);

    /**
     * @Author: zoey-zhu
     * @description: info（GRT）: 登录后返回的信息
     * @Date 21:35 2021/7/8
     * url: http://182.92.235.201:8083/admin/auth/info?token=39dfa3d4-fed5-475f-b527-4361fb2a6d14
     */
    AuthInfoVO info(MallAdmin admin);




}
